package gof.com.yew.builder;

public class McDonaldMeal {
	
	private Bacon bacon;
	
	private Chicken chicken;
	
	private CoCoCoLe coco;

	public Bacon getBacon() {
		return bacon;
	}

	public void setBacon(Bacon bacon) {
		this.bacon = bacon;
	}

	public Chicken getChicken() {
		return chicken;
	}

	public void setChicken(Chicken chicken) {
		this.chicken = chicken;
	}

	public CoCoCoLe getCoco() {
		return coco;
	}

	public void setCoco(CoCoCoLe coco) {
		this.coco = coco;
	}

	@Override
	public String toString() {
		return "McDonaldMeal [bacon=" + bacon + ", chicken=" + chicken + ", coco=" + coco + "]";
	}
	
}

class  Bacon{
	private String name;

	public Bacon(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Bacon [name=" + name + "]";
	}
	
}

class  Chicken{
	private String name;
	
	private Integer count;

	public Chicken(String name, Integer count) {
		this.name = name;
		this.count = count;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	@Override
	public String toString() {
		return "Chicken [name=" + name + ", count=" + count + "]";
	}
	
}


class  CoCoCoLe{
	private String size;
	
	private String warm;

	public CoCoCoLe(String size, String warm) {
		super();
		this.size = size;
		this.warm = warm;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getWarm() {
		return warm;
	}

	public void setWarm(String warm) {
		this.warm = warm;
	}

	@Override
	public String toString() {
		return "CoCoCoLe [size=" + size + ", warm=" + warm + "]";
	}
	
}